package com.cloudbroker.bcs.platform.dav.bizexport.t2.business;

import com.cloudbroker.bcs.common.entity.HSBCPSBackNumVO;
import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.UpvoteBizService;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.back.VoteRecordListBack;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.vo.BrokerUpvoteClickForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.vo.ClickUpvoteForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.vo.RecordListForm;
import com.cloudbroker.bcs.platform.dav.bizapi.t2service.business.UpvoteT2BizService;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UpvoteT2 implements UpvoteT2BizService {
    
    @Resource
    private UpvoteBizService upvoteBizService;

    @Override
    public HSBCPSBackNumVO funcClickUpvote(ClickUpvoteForm param) {
        return upvoteBizService.funcClickUpvote(param);
    }

    @Override
    public HSBCPSBackNumVO funcBrokerUpvoteClick(@ServiceParam("param") BrokerUpvoteClickForm param) {
        return upvoteBizService.funcBrokerUpvoteClick(param);
    }

    @Override
    public VoteRecordListBack funcGetVoteRecordList(RecordListForm param) {
        return upvoteBizService.funcGetVoteRecordList(param);
    }
}
